home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Presen…tion Library 4 (Reseller) / Apple Ref. & Pres. Lib.v4.0.iso / 6-Apple⁄DEC Alliance / Solutions & Networking Guide / Macintosh Networking Guide / Macintosh Networking Guide / card_9612.txt < prev    next >
Text File  |  1990-04-17  |  11KB  |  484 lines

  1. -- card: 9612 from stack: in
  2. -- bmap block id: 9810
  3. -- flags: 0000
  4. -- background id: 2585
  5. -- name: elevatoropen
  6.  
  7.  
  8. -- part 40 (field)
  9. -- low flags: 01
  10. -- high flags: 2002
  11. -- rect: left=236 top=82 right=106 bottom=340
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 0
  15. -- font id: 156
  16. -- text size: 10
  17. -- style flags: 0
  18. -- line height: 13
  19. -- part name: 
  20.  
  21.  
  22. -- part 8 (field)
  23. -- low flags: 01
  24. -- high flags: 0002
  25. -- rect: left=177 top=0 right=23 bottom=333
  26. -- title width / last selected line: 0
  27. -- icon id / first selected line: 0 / 0
  28. -- text alignment: 1
  29. -- font id: 156
  30. -- text size: 18
  31. -- style flags: 16384
  32. -- line height: 21
  33. -- part name: currentFloor
  34.  
  35.  
  36. -- part 9 (button)
  37. -- low flags: 00
  38. -- high flags: 0000
  39. -- rect: left=136 top=40 right=304 bottom=374
  40. -- title width / last selected line: 0
  41. -- icon id / first selected line: 0 / 0
  42. -- text alignment: 1
  43. -- font id: 0
  44. -- text size: 12
  45. -- style flags: 0
  46. -- line height: 16
  47. -- part name: 
  48. ----- HyperTalk script -----
  49. on mouseUp
  50.   global currentfloor
  51.   set cursor to busy
  52.   set lockscreen to true
  53.   go to cd "Lobby"
  54.   show cd button "ElevatorThing"
  55.   unlock screen with dissolve
  56.   wait 30
  57.   play "22"
  58.   hide cd button "ElevatorThing"
  59. end mouseUp
  60.  
  61. On mouseDown
  62.   Global ClickSND
  63.   play ClickSND
  64. End mouseDown
  65.  
  66. on mouseEnter
  67.   global Help
  68.   put "Connectivity Lobby" & return & "click to enter lobby" into fld "Tell"
  69.   changeCurs 6069
  70. end mouseEnter
  71.  
  72. on mouseleave
  73.   put empty into fld "Tell"
  74.   changeCurs 69
  75. end mouseLeave
  76.  
  77.  
  78.  
  79.  
  80. -- part 10 (field)
  81. -- low flags: 01
  82. -- high flags: 2002
  83. -- rect: left=3 top=133 right=192 bottom=127
  84. -- title width / last selected line: 0
  85. -- icon id / first selected line: 0 / 0
  86. -- text alignment: 0
  87. -- font id: 156
  88. -- text size: 10
  89. -- style flags: 16384
  90. -- line height: 13
  91. -- part name: Destination
  92. ----- HyperTalk script -----
  93. on mouseUp
  94.   global env,floor,nextFloor,currentFloor,lastFloor
  95.   set cursor to busy
  96.   --‚àÜ Set flag for use in "ElevatorAction" routine
  97.   put currentFloor into lastFloor
  98.   --‚àÜ select and highlight line, customize argument for field number
  99.   put line SelectionAndHiliter(1) of me into nextFloor
  100.   put SelectionAndHiliter() into nextFloorNum
  101.   hide cd button (currentFloor & "Hiliter")
  102.   --‚àÜ Close elevator doors
  103.   set lockscreen to true
  104.   go to cd "elevatorKlosed"
  105.   --‚àÜ Set lights over door in closed elevator
  106.   set the hilite of btn "3  Applications" to false
  107.   set the hilite of btn "2  Network Services" to false
  108.   set the hilite of btn "1  Hardware" to false
  109.   set the hilite of btn "0  Lobby" to false
  110.   set the hilite of button currentFloor to true
  111.   --‚àÜ Set level indicator in closed elevator
  112.   hide cd button "3  ApplicationsHiliter"
  113.   hide cd button "2  Network ServicesHiliter"
  114.   hide cd button "1  HardwareHiliter"
  115.   hide cd button "0  LobbyHiliter"
  116.   show cd button (nextFloor & "Hiliter")
  117.   --‚àÜ Show the environment chosen in lobby
  118.   put env into envTemp
  119.   if env is "Mac" then put "Macintosh" into envTemp
  120.   put envTemp into cd field "envName"
  121.   --‚àÜ Display the floor
  122.   put currentFloor into cd field "currentFloor"
  123.   play "22"
  124.   unlock screen with visual barn door close
  125.   --‚Ä¢ to simulate the door closing before arriving
  126.   --‚Ä¢ at destination JONATHAN
  127.   wait 20
  128.   elevatorAction
  129.   put line nextFloorNum of cd fld destination into currentFloor
  130.   wait 20
  131.   --‚àÜ Show arrival at chosen floor
  132.   set the lockscreen to true
  133.   if currentFloor is "0  Lobby" then
  134.     go to cd "elevatoropen"
  135.   else
  136.     go to cd "elevatoropenHall"
  137.   end if
  138.   --‚àÜ Set lights over door in open elevator
  139.   set the hilite of btn "3  Applications" to false
  140.   set the hilite of btn "2  Network Services" to false
  141.   set the hilite of btn "1  Hardware" to false
  142.   set the hilite of btn "0  Lobby" to false
  143.   set the hilite of button currentFloor to true
  144.   --‚àÜ Set level indicator in open elevator
  145.   hide cd button "destinationHiliter"
  146.   hide cd button "3  ApplicationsHiliter"
  147.   hide cd button "2  Network ServicesHiliter"
  148.   hide cd button "1  HardwareHiliter"
  149.   hide cd button "0  LobbyHiliter"
  150.   show cd button (nextFloor & "Hiliter")
  151.   --‚àÜ Show floor name over door & env over level selector
  152.   put currentFloor into cd field "currentFloor"
  153.   put envTemp into cd field "envName"
  154.   play "22"
  155.   unlock screen with visual barn door open
  156.   wait 20
  157.   --‚àÜ Exit the elevator
  158.   set lockScreen to true
  159.   if currentFloor is "0  Lobby" then
  160.     go to cd "lobby"
  161.     show cd button "ElevatorThing"
  162.     wait 20
  163.     play "22"
  164.     hide cd button "ElevatorThing"
  165.   else
  166.     go to cd "hallway1"
  167.   end if
  168.   unlock screen with visual dissolve
  169. end mouseUp
  170.  
  171. On mouseDown
  172.   Global ClickSND
  173.   play ClickSND
  174. End mouseDown
  175.  
  176. on mouseLeave
  177.   put empty into fld "Tell"
  178.   changeCurs 69
  179. end mouseLeave
  180.  
  181. on mouseEnter
  182.   put "Elevator Button" & return & "please click on a floor" into field "Tell"
  183.   changeCurs 6069
  184. end mouseEnter
  185.  
  186.  
  187. -- part 11 (button)
  188. -- low flags: 00
  189. -- high flags: 6000
  190. -- rect: left=178 top=23 right=35 bottom=193
  191. -- title width / last selected line: 0
  192. -- icon id / first selected line: 0 / 0
  193. -- text alignment: 1
  194. -- font id: 0
  195. -- text size: 12
  196. -- style flags: 0
  197. -- line height: 16
  198. -- part name: 0  Lobby
  199.  
  200.  
  201. -- part 12 (button)
  202. -- low flags: 00
  203. -- high flags: 2000
  204. -- rect: left=222 top=23 right=35 bottom=237
  205. -- title width / last selected line: 0
  206. -- icon id / first selected line: 0 / 0
  207. -- text alignment: 1
  208. -- font id: 0
  209. -- text size: 12
  210. -- style flags: 0
  211. -- line height: 16
  212. -- part name: 1  Hardware
  213.  
  214.  
  215. -- part 13 (button)
  216. -- low flags: 00
  217. -- high flags: 2000
  218. -- rect: left=270 top=22 right=34 bottom=285
  219. -- title width / last selected line: 0
  220. -- icon id / first selected line: 0 / 0
  221. -- text alignment: 1
  222. -- font id: 0
  223. -- text size: 12
  224. -- style flags: 0
  225. -- line height: 16
  226. -- part name: 2  Network Services
  227.  
  228.  
  229. -- part 14 (button)
  230. -- low flags: 00
  231. -- high flags: 2000
  232. -- rect: left=317 top=23 right=35 bottom=332
  233. -- title width / last selected line: 0
  234. -- icon id / first selected line: 0 / 0
  235. -- text alignment: 1
  236. -- font id: 0
  237. -- text size: 12
  238. -- style flags: 0
  239. -- line height: 16
  240. -- part name: 3  Applications
  241.  
  242.  
  243. -- part 15 (button)
  244. -- low flags: 00
  245. -- high flags: 0000
  246. -- rect: left=396 top=105 right=171 bottom=482
  247. -- title width / last selected line: 0
  248. -- icon id / first selected line: 0 / 0
  249. -- text alignment: 1
  250. -- font id: 0
  251. -- text size: 12
  252. -- style flags: 0
  253. -- line height: 16
  254. -- part name: kiosk
  255. ----- HyperTalk script -----
  256. on mouseUp
  257.   set lockscreen to true
  258.   set cursor to busy
  259.   put empty into field "Explainer"
  260.   push card
  261.   go to cd "matrix"
  262.   unlock screen with dissolve
  263. end mouseUp
  264.  
  265. On mouseDown
  266.   Global ClickSND
  267.   play ClickSND
  268. End mouseDown
  269.  
  270. on mouseEnter
  271.   put "Matrix Button" & return & "use matrix navigation" into fld "Tell"
  272.   ChangeCurs 6069
  273. end mouseEnter
  274.  
  275. on mouseLeave
  276.   put empty into field "Tell"
  277.   changeCurs 69
  278. end mouseleave
  279.  
  280. On mouseDown
  281.   global ButtonSND
  282.   play ButtonSND
  283. End mouseDown
  284.  
  285. on mouseLeave
  286.   put empty into fld "Tell"
  287. end mouseLeave
  288.  
  289. on mouseEnter
  290.   put "'Kiosk' Button" & return & "goes to the Kiosk" into field "Tell"
  291. end mouseEnter
  292.  
  293.  
  294. -- part 22 (field)
  295. -- low flags: 01
  296. -- high flags: 0002
  297. -- rect: left=3 top=105 right=128 bottom=127
  298. -- title width / last selected line: 0
  299. -- icon id / first selected line: 0 / 0
  300. -- text alignment: 1
  301. -- font id: 156
  302. -- text size: 14
  303. -- style flags: 16640
  304. -- line height: 18
  305. -- part name: EnvName
  306.  
  307.  
  308. -- part 35 (button)
  309. -- low flags: 80
  310. -- high flags: 4000
  311. -- rect: left=4 top=164 right=178 bottom=126
  312. -- title width / last selected line: 0
  313. -- icon id / first selected line: 0 / 0
  314. -- text alignment: 1
  315. -- font id: 0
  316. -- text size: 12
  317. -- style flags: 0
  318. -- line height: 16
  319. -- part name: 1  Hardwarehiliter
  320. ----- HyperTalk script -----
  321. on mouseEnter
  322.   global Help
  323.   put "Level Indicator" & return & "you are now at this level" into fld "Tell"
  324. end mouseEnter
  325.  
  326. on mouseleave
  327.   put empty into fld "Tell"
  328. end mouseLeave
  329.  
  330.  
  331.  
  332. -- part 37 (button)
  333. -- low flags: 80
  334. -- high flags: 4000
  335. -- rect: left=4 top=151 right=165 bottom=126
  336. -- title width / last selected line: 0
  337. -- icon id / first selected line: 0 / 0
  338. -- text alignment: 1
  339. -- font id: 0
  340. -- text size: 12
  341. -- style flags: 0
  342. -- line height: 16
  343. -- part name: 2  Network Serviceshiliter
  344. ----- HyperTalk script -----
  345. on mouseEnter
  346.   global Help
  347.   put "Level Indicator" & return & "you are now at this level" into fld "Tell"
  348.   changeCurs 6069
  349. end mouseEnter
  350.  
  351. on mouseleave
  352.   put empty into fld "Tell"
  353.   changeCurs 69
  354. end mouseLeave
  355.  
  356.  
  357.  
  358. -- part 38 (button)
  359. -- low flags: 80
  360. -- high flags: 4000
  361. -- rect: left=4 top=138 right=152 bottom=126
  362. -- title width / last selected line: 0
  363. -- icon id / first selected line: 0 / 0
  364. -- text alignment: 1
  365. -- font id: 0
  366. -- text size: 12
  367. -- style flags: 0
  368. -- line height: 16
  369. -- part name: 3  Applicationshiliter
  370. ----- HyperTalk script -----
  371. on mouseEnter
  372.   global Help
  373.   put "Level Indicator" & return & "you are now at this level" into fld "Tell"
  374.   changeCurs 6069
  375. end mouseEnter
  376.  
  377. on mouseleave
  378.   put empty into fld "Tell"
  379.   changeCurs 69
  380. end mouseLeave
  381.  
  382.  
  383.  
  384. -- part 39 (button)
  385. -- low flags: 00
  386. -- high flags: 4000
  387. -- rect: left=4 top=177 right=191 bottom=126
  388. -- title width / last selected line: 0
  389. -- icon id / first selected line: 0 / 0
  390. -- text alignment: 1
  391. -- font id: 0
  392. -- text size: 12
  393. -- style flags: 0
  394. -- line height: 16
  395. -- part name: 0  LobbyHiliter
  396. ----- HyperTalk script -----
  397. on mouseEnter
  398.   global Help
  399.   put "Level Indicator" & return & "you are now at this level" into fld "Tell"
  400. end mouseEnter
  401.  
  402. on mouseleave
  403.   put empty into fld "Tell"
  404. end mouseLeave
  405.  
  406.  
  407.  
  408. -- part 42 (field)
  409. -- low flags: 01
  410. -- high flags: 0000
  411. -- rect: left=0 top=0 right=28 bottom=175
  412. -- title width / last selected line: 0
  413. -- icon id / first selected line: 0 / 0
  414. -- text alignment: 0
  415. -- font id: 156
  416. -- text size: 18
  417. -- style flags: 2048
  418. -- line height: 24
  419. -- part name: 
  420.  
  421.  
  422. -- part 43 (button)
  423. -- low flags: 00
  424. -- high flags: 4000
  425. -- rect: left=333 top=0 right=27 bottom=512
  426. -- title width / last selected line: 0
  427. -- icon id / first selected line: 0 / 0
  428. -- text alignment: 1
  429. -- font id: 0
  430. -- text size: 12
  431. -- style flags: 0
  432. -- line height: 16
  433. -- part name: Title bar
  434.  
  435.  
  436. -- part 44 (button)
  437. -- low flags: 80
  438. -- high flags: 4000
  439. -- rect: left=4 top=138 right=152 bottom=126
  440. -- title width / last selected line: 0
  441. -- icon id / first selected line: 0 / 0
  442. -- text alignment: 1
  443. -- font id: 0
  444. -- text size: 12
  445. -- style flags: 0
  446. -- line height: 16
  447. -- part name: destinationHiliter
  448. ----- HyperTalk script -----
  449. on mouseEnter
  450.   global Help
  451.   put "Level Indicator" & return & "you are now at this level" into fld "Tell"
  452.   changeCurs 6069
  453. end mouseEnter
  454.  
  455. on mouseleave
  456.   put empty into fld "Tell"
  457.   changeCurs 69
  458. end mouseLeave
  459.  
  460.  
  461.  
  462. -- part contents for card part 10
  463. ----- text -----
  464. 3  Applications
  465. 2  Network Services
  466. 1  Hardware
  467. 0  Lobby
  468.  
  469. -- part contents for card part 8
  470. ----- text -----
  471. 0  Lobby
  472.  
  473. -- part contents for card part 40
  474. ----- text -----
  475. Connectivity Lobby
  476.  
  477.  
  478. -- part contents for card part 42
  479. ----- text -----
  480.   Inside Elevator
  481.  
  482. -- part contents for card part 22
  483. ----- text -----
  484. Digital